<div class="pic"><%= image_tag('friend/hygl_sq_right_bar.jpg') %></div>
<div class="content">
  <% @wait_requisitions.each do |wait_requisition| %>
    <div class="monomer">
      <div id="picture">
        <%= link_to logo_image_tag(wait_requisition.active_valleyer, :width => 95, :height => 95),
          valleyer_url(wait_requisition.active_valleyer),
          :target => :_blank
      %>
      </div>
      <div class="message">
        <div class="name">
          <p>姓名：</p>
          <%= link_to wait_requisition.active_valleyer.nick_name,
            valleyer_url(wait_requisition.active_valleyer),
            :target => :_blank
        %>
          <p class="star"><%= image_tag('valleyer/star.jpg') %></p>
        </div>
        <p>资料：</p><b><%= wait_requisition.active_valleyer.seat %></b>
      </div>
      <div class="operate">
        <div class="letter">
          <%= link_to_remote "同意",
            :update => :right,
            :url => url_for(:action => :ask_for_pals,
            :wait_requisition_id => wait_requisition.id,
            :cmd => :agree
          )
        %>
        </div>
        <div class="letter">
          <%= link_to_remote "拒绝",
            :update => :right,
            :url => url_for(:action => :ask_for_pals,
            :wait_requisition_id => wait_requisition.id,
            :cmd => :reject
          )
        %>
        </div>
        <%#*<div class="letter"><a href="javascript:;">发站内信</a></div>%>
      </div>
    </div>
  <% end %>
</div>